//
//  AllocateCourseViewController.h
//  TraineeManagementSystem
//
//  Created by Dhanashree Bodas on 29/01/15.
//  Copyright (c) 2015 Dhanashree Bodas. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CourseTable.h"
#import "Course.h"
#import "TraineeCourseTable.h"

@interface AllocateCourseViewController : UIViewController<UITableViewDataSource,UITableViewDataSource,UISearchBarDelegate,UISearchDisplayDelegate>

@property (weak, nonatomic) IBOutlet UITableView *tableview;
@property (strong) NSMutableArray *list;
@property (weak, nonatomic) IBOutlet UITextField *allocationDate;
@property (assign) int tid;


@property (weak, nonatomic) IBOutlet UIButton *allocateButton;
-(void)loadData;

- (IBAction)allocationPressed:(id)sender;
- (IBAction)cancelPressed:(id)sender;
@end
